﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DotSpatial.Topology;

using FXnaGis;

namespace ASCore
{
    [Serializable]
    public class PointSource:BaseSource
    {


        public PointSource(string id)
            : base(id)
        {
            this._innerShape = new FPointShape(id);


           
 
        }

        public PointSource(string id, string desc):this(id)
        {
            this.Desc = desc;
 
        }


        public new FPointShape InnerShape
        {
            get
            {
                return base.InnerShape as FPointShape;
            }
            set
            {
                base.InnerShape = value;
            }
        }



        double _height=0;

        /// <summary>
        /// 自身高度
        /// </summary>
        public double Height
        {
            get { return _height; }
            set { _height = value; }
        }


        double _radius;

        /// <summary>
        /// 内径
        /// </summary>
        public double Radius
        {
            get { return _radius; }
            set { _radius = value; }
        }


        double _temperature;

        /// <summary>
        /// 温度（K?）
        /// </summary>
        public double Temperature
        {
            get { return _temperature; }
            set { _temperature = value; }
        }


        public override object Clone()
        {
            PointSource cloned = (PointSource)base.Clone();

            
            return cloned;
        }

      
    }
}
